package com.vito.oa.act.service;

import java.util.List;
import java.util.Map;

import com.vito.oa.act.statistics.OaActStatisticsModel;

public interface OaActStatisticsService {
	List<Map<String, String>> queryDeptsOfUser(String deptCode);
	OaActStatisticsModel queryProcStatistics(String statsUserId,String statsDeptId,String procKey,String xTypeStr);
	String queryProcessStatisticSqlId(String procKey);
	Double queryStatisticProcessStatisticData(String procKey,String...params);
	
	public List<Map<String, String>> getProcessAbstractList(String processKey, String startTime, String endTime,
			String userId);
	/**
	 * 查看系统流程统计汇总
	 * @param startTime
	 * @param endTime
	 * @param parentDept
	 * @return
	 */
	public List<Map<String,Object>> queryStatisticAllOfCompany(String startTime, String endTime,String parentDept);
	
}